﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbControl
{
    [Index("uk_id", nameof(id), true)]
    public class roles
    {
        [Column(IsIdentity = true, IsPrimary = true)]
        public int id { get; set; }
        [Column(DbType = "nvarchar(50)")]
        public string rolecode { get; set; }
        [Column(DbType = "nvarchar(50)")]
        public string rolename { get; set; }
        public int? flag { get; set; }
    }
}
